﻿<UserControl
	xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
	xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
	xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
	xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
	mc:Ignorable="d"
	x:Class="NewsReader.FeedList"
	d:DesignWidth="432" d:DesignHeight="498">

	<Grid x:Name="LayoutRoot" Background="Transparent">
		<ListBox ItemsSource="{Binding}" SelectionChanged="MainListBox_SelectionChanged">
			<ListBox.ItemTemplate>
				<DataTemplate>
					<StackPanel Margin="0,0,0,17" Width="432">
						<TextBlock Text="{Binding Title}" TextWrapping="Wrap" Style="{StaticResource PhoneTextTitle2Style}"/>
						<TextBlock Text="{Binding PublishedDate}" TextWrapping="Wrap" Margin="12,5" Style="{StaticResource PhoneTextSmallStyle}" FontStyle="Italic"/>
						<TextBlock Text="{Binding Description}" TextWrapping="Wrap" Margin="12,2" Style="{StaticResource PhoneTextSubtleStyle}"/>
					</StackPanel>
				</DataTemplate>
			</ListBox.ItemTemplate>
		</ListBox>
        
	</Grid>
</UserControl>